﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.GamerServices;
using ScytheEngine;

using VTESGameLogicWindows;

namespace VTESGameOnWindows
{
	class VTESGame : ScytheEngineGame
	{
		public VTESGame()
		{
			Content.RootDirectory = "Content";

			GraphicsDeviceManager.PreferredBackBufferWidth = 1624;
			GraphicsDeviceManager.PreferredBackBufferHeight = 868;

			//GraphicsDeviceManager.ToggleFullScreen();

			//Components.Add( screenManager );
			Components.Add( new MessageDisplayComponent( this ) );
			Components.Add( new GamerServicesComponent( this ) );

			GameStateManager.SetSpecialScreenType( typeof( MainMenuScreen ), ScreenType.MainMenuScreen );
			GameStateManager.SetSpecialScreenType( typeof( PauseMenuScreen ), ScreenType.GamePausedScreen );
		}

		protected override void Initialize()
		{
			base.Initialize();
			// Activate the first screens.
			GameStateManager.AddState( new BackgroundScreen() );
			GameStateManager.AddState( new MainMenuScreen() );
		}
	}
}
